package com.onlyxiahui.framework.action.dispatcher.extend.impl;

import com.onlyxiahui.framework.action.dispatcher.extend.ActionMessage;

/**
 * Date 2019-03-10 15:24:59<br>
 * Description
 * 
 * @author XiaHui<br>
 * @since 1.0.0
 */

public class DefaultActionMessage implements ActionMessage {

	String action;
	Object message;

	public DefaultActionMessage() {
	}

	public DefaultActionMessage(String action, Object message) {
		this.message = message;
		this.action = action;
	}

	@Override
	public Object getMessage() {
		return message;
	}

	@Override
	public void setMessage(Object message) {
		this.message = message;
	}

	@Override
	public String getAction() {
		return action;
	}

	@Override
	public void setAction(String action) {
		this.action = action;
	}

}
